<template>
  <div class="main">
    <div class="top">
      <div class="breadcrumb">
      <p class="toptitle">首页</p>
      <i class="iconfont icon-youjiantou"></i>
      <p class="toptitle">账号管理</p>
      <i class="iconfont icon-youjiantou"></i>
      <p class="lasttitle">账户列表</p>
      </div>
      <welcome></welcome>
    </div>
    <div class="table">
      <p class="list">账户列表</p>
      <Table></Table> <!-- 将 accountList 传递给 Table 组件 -->
    </div>
  </div>
</template>

<script setup>
import Table from '../../components/Table.vue'; 
</script>

<style scoped>
.main {
  width: 100%;
  height: 730px;
  background-color: #f0f0f0;
}

/* 中间 */
.table {
  margin: 20px;
  padding: 20px;
  border-radius: 5px;
  background-color: #fff;
  min-height: 600px;
}
.list {
  width: 100%;
  border-bottom: 1px solid #e1e1e1;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
/* 顶部面包屑 */
.toptitle {
  font-weight: bold;
}

.top {
    width: 96%;
    height: 50px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 内容分布在左右两侧 */
    padding: 0 20px;
    /* 添加左右内边距 */
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.iconfont {
  font-size: 14px;
  color: #999999;
  margin: 0 5px;
}

.lasttitle {
  color: #999999;
}
</style>